<div class="box-c">
<div onclick="toggle_box('comments_stats_arrow','comments_stats_content');" class="box-c-head">
<div class="title-main-c">

<img src="modules/admin/media/icons/comments.gif" width="20" height="20" align="top" /> {=lang(L_COMMENTS)}
</div>

<div class="arrow">
<img id="comments_stats_arrow" src="modules/admin/media/icon-down.gif" />
</div>
</div>

<div class="box-c-content" id="comments_stats_content">
<div class="cont-txt">
<a href="index.php?module=admin&file=feedback.tpl&filter=approved"><div class="txt-main"><?=L_APPROVED;?></div></a>
<div class="vector"><span class="green"><?=$this->num_rows($approved_comments_query);?></span></div>
</div>
<div class="cont-txt">
<a href="index.php?module=admin&file=feedback.tpl&filter=waiting"><div class="txt-main"><?=L_WAITING_MODERATION;?></div></a>
<div class="vector"><span class="yellow"><?=$this->num_rows($waiting_comments_query);?></span></div>
</div>
<div class="cont-txt">
<a href="index.php?module=admin&file=feedback.tpl&filter=spam"><div class="txt-main"><?=L_NOT_APPROVED;?></div></a>
<div class="vector"><span class="red"><?=$this->num_rows($not_approved_comments_query);?></span></div>
</div>
<div class="cont-txt">
<a href="index.php?module=admin&file=feedback.tpl"><div class="txt-main"><?=L_ALL;?></div></a>
<div class="vector"><?=$this->num_rows($total_comments_query);?></div>
</div>
</div>
</div><!--END BOX C -->
